﻿<%@ Page Language="C#" Theme="skin_control" AutoEventWireup="true" CodeFile="EvaluateUserPlanWeek.aspx.cs"
    Inherits="UserPlanWeek_EvaluateUserPlanWeek" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>待处理员工周计划</title>
    <link href="../App_Themes/css/main_css.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr>
                <td class="firstbjcolor" colspan="8" style="height: 14px;">
                    <span class="currentHere">当前位置:员工周计划管理-&gt;待处理员工周计划</span>
                </td>
            </tr>
            <tr>
                <td style="height: 1; width: 100%;">
                </td>
            </tr>
            <tr>
                <td colspan="8" style="height: 30px; background-image: url(../images/secondRow.gif);
                    background-repeat: repeat-x;">
                    <asp:DropDownList ID="drpType" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpType_SelectedIndexChanged"
                        SkinID="dropdownlistSkin">
                        <asp:ListItem Value="1">待审核</asp:ListItem>
                        <asp:ListItem Value="0">待评估</asp:ListItem>
                    </asp:DropDownList>
                    年份:<asp:DropDownList ID="drpYear" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpYear_SelectedIndexChanged"
                        SkinID="dropdownlistSkin">
                    </asp:DropDownList>
                    年周期:<asp:DropDownList ID="drpQuarterDate" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpQuarterDate_SelectedIndexChanged"
                        SkinID="dropdownlistSkin">
                    </asp:DropDownList>
                    月周期:<asp:DropDownList ID="drpMonthDate" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpMonthDate_SelectedIndexChanged"
                        SkinID="dropdownlistSkin">
                    </asp:DropDownList>
                    周周期:<asp:DropDownList ID="drpWeekDate" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpWeekDate_SelectedIndexChanged"
                        SkinID="dropdownlistSkin">
                    </asp:DropDownList>
                    <asp:CheckBox ID="ckbAllSelect" runat="server" AutoPostBack="True" OnCheckedChanged="ckbAllSelect_CheckedChanged"
                        Text="全选" SkinID="checkboxSkin" />
                    <asp:Button ID="btnOk" runat="server" OnClick="btnOk_Click" Text="通过" SkinID="buttonSkin" />
                    <asp:Button ID="btnReturn" runat="server" Text="退回" OnClick="btnReturn_Click" SkinID="buttonSkin"
                        OnClientClick="return confirm('确认要退回吗？');" />
                    <asp:Button ID="btnMofify" runat="server" OnClick="btnMofify_Click" Text="修改" SkinID="buttonSkin" />
                        <asp:Button ID="btnVerifyCircuit" runat="server" OnClick="btnVerifyCircuit_Click"
                            SkinID="buttonSkin" Text="流程" />
                </td>
            </tr>
            <tr>
                <td style="height: 1; width: 100%;">
                </td>
            </tr>
            <tr>
                <td colspan="8">
                    <asp:GridView ID="gdvNoEvaluateWeekPlan" runat="server" AutoGenerateColumns="False"
                        Width="100%" SkinID="gridviewSkin" 
                        DataKeyNames="WeekPlanId,AttachmentPath,VerifyPeopleOpinion,MonthPlanId,Source,CheckNote,PlanSendState" 
                        EnableModelValidation="True">
                        <Columns>
                            <asp:TemplateField HeaderText="选择">
                                <ItemTemplate>
                                    <asp:CheckBox ID="ckbSelect" runat="server" SkinID="checkboxSkin" />
                                </ItemTemplate>
                                <ItemStyle Width="4%" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" />
                                <HeaderStyle Width="4%" HorizontalAlign="Center" VerticalAlign="Middle" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="WeekPlanSortId" HeaderText="计划编号">
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="4%" Wrap="False" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="4%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="WorkItem" HeaderText="计划名称">
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="12%" Wrap="False" />
                                <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="12%" Wrap="True" />
                            </asp:BoundField>
                            <asp:BoundField DataField="PlanStep" HeaderText="实施步骤">
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="9%" Wrap="False" />
                                <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="9%" Wrap="True" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Source" HeaderText="计划来源">
                                <ItemStyle Width="6%" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="CompleteTime" HeaderText="完成时间" DataFormatString="{0:yyyy-MM-dd}"
                                HtmlEncode="False">
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField DataField="MasterDepartment" HeaderText="责任部门">
                                <HeaderStyle Width="6%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <ItemStyle Width="6%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                            </asp:BoundField>
                            <asp:BoundField DataField="MasterPeople" HeaderText="责任人">
                                <HeaderStyle Width="5%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <ItemStyle Width="5%" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField DataField="SlaveDepartment" HeaderText="配合部门">
                                <HeaderStyle Width="7%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <ItemStyle Width="7%" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField DataField="SlaveDepartmentDuty" HeaderText="配合部门责任" 
                                HtmlEncode="False">
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="8%" Wrap="True" />
                            </asp:BoundField>
                            <asp:BoundField DataField="EvaluatePeople" HeaderText="评估人">
                                <HeaderStyle Width="5%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <ItemStyle Width="5%" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Remart" HeaderText="备注" HtmlEncode="False">
                                <HeaderStyle Width="8%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <ItemStyle Width="8%" HorizontalAlign="Left" VerticalAlign="Middle" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="附件">
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" />
                                <ItemTemplate>
                                    <asp:Button ID="btnDownLoad" runat="server" OnClick="btnDownLoad_Click" SkinID="buttonSkin"
                                        Text="下载" />
                                    <asp:Label ID="lblAlert" runat="server" SkinID="labelSkin" Visible="False"></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="审核意见">
                                <ItemTemplate>
                                    <asp:TextBox ID="txtVerifyPeopleOpinion" runat="server" Height="50px" TextMode="MultiLine"
                                        Width="90%" SkinID="textboxMultiLineSkin"></asp:TextBox>
                                </ItemTemplate>
                                <ItemStyle Width="12%" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="12%" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="WeekPlanId" HeaderText="id" Visible="False">
                                <HeaderStyle Wrap="False" Width="30px" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <ItemStyle Width="30px" HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="MonthPlanId" HeaderText="MonthPlanId" Visible="False" />
                            <asp:TemplateField HeaderText="计划来源" Visible="False">
                                <ItemTemplate>
                                    <asp:LinkButton ID="lbtnSource" runat="server" CausesValidation="False" OnClick="lbtnSource_Click"></asp:LinkButton>
                                </ItemTemplate>
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="75px" />
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="75px" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="CheckNote" Visible="False" />
                            <asp:BoundField DataField="PlanSendState" Visible="False" />
                            <asp:BoundField DataField="VerifyPeopleOpinion" Visible="False" />
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
            <tr>
                <td colspan="8">
                    <asp:GridView ID="gdvEvaluteCheckNote" runat="server" AutoGenerateColumns="False"
                        Width="100%" SkinID="gridviewSkin" 
                        DataKeyNames="WeekPlanId,PlanSendState,NoCompleteCount,AttachmentPath" 
                        EnableModelValidation="True">
                        <Columns>
                            <asp:TemplateField HeaderText="选择">
                                <ItemTemplate>
                                    <asp:CheckBox ID="ckbSelect" runat="server" SkinID="checkboxSkin" />
                                </ItemTemplate>
                                <ItemStyle Width="4%" />
                                <HeaderStyle Width="4%" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="WeekPlanSortId" HeaderText="计划编号">
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="4%" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="4%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="WorkItem" HeaderText="计划名称">
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="10%" Wrap="False" />
                                <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="10%" Wrap="True" />
                            </asp:BoundField>
                            <asp:BoundField DataField="PlanStep" HeaderText="实施步骤">
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="10%" Wrap="False" />
                                <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="10%" Wrap="True" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Source" HeaderText="计划来源">
                                <ItemStyle Width="7%" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="7%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="CompleteTime" HeaderText="完成时间" DataFormatString="{0:yyyy-MM-dd}"
                                HtmlEncode="False">
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField DataField="MasterDepartment" HeaderText="责任部门">
                                <HeaderStyle Width="6%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <ItemStyle Width="6%" Wrap="True" HorizontalAlign="Center" VerticalAlign="Middle" />
                            </asp:BoundField>
                            <asp:BoundField DataField="MasterPeople" HeaderText="责任人">
                                <HeaderStyle Width="5%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <ItemStyle Width="5%" HorizontalAlign="Center" VerticalAlign="Middle" />
                            </asp:BoundField>
                            <asp:BoundField DataField="SlaveDepartment" HeaderText="配合部门">
                                <HeaderStyle Width="7%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <ItemStyle Width="7%" HorizontalAlign="Center" VerticalAlign="Middle" />
                            </asp:BoundField>
                            <asp:BoundField DataField="SlaveDepartmentDuty" HeaderText="配合部门责任" 
                                HtmlEncode="False">
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" Wrap="False" />
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="EvaluatePeople" HeaderText="评估人">
                                <HeaderStyle Width="5%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle"/>
                                <ItemStyle Width="5%"  HorizontalAlign="Center" VerticalAlign="Middle"/>
                            </asp:BoundField>
                            <asp:BoundField DataField="Remart" HeaderText="备注" HtmlEncode="False">
                                <HeaderStyle Width="6%" Wrap="False" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <ItemStyle Width="6%" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="附件">
                                <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="8%" />
                                <ItemTemplate>
                                    <asp:Button ID="btnDownLoad1" runat="server" OnClick="btnDownLoad1_Click" SkinID="buttonSkin"
                                        Text="下载" />
                                    <asp:Label ID="lblAlert1" runat="server" SkinID="labelSkin" Visible="False"></asp:Label>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="处理">
                                <ItemTemplate>
                                    <asp:DropDownList ID="dropZhuangTai" runat="server">
                                        <asp:ListItem Value="3">请选择</asp:ListItem>
                                        <asp:ListItem Value="4">完成</asp:ListItem>
                                        <asp:ListItem Value="5">顺利进行</asp:ListItem>
                                        <asp:ListItem Value="6">有障碍</asp:ListItem>
                                        <asp:ListItem Value="7">失控</asp:ListItem>
                                        <asp:ListItem Value="8">计划调整</asp:ListItem>
                                    </asp:DropDownList>
                                    <br />
                                    <asp:TextBox ID="txtCheckNote" runat="server" Height="50px" TextMode="MultiLine"
                                        Width="90%" SkinID="textboxMultiLineSkin"></asp:TextBox><br />
                                    <asp:Button ID="btnTiJiao" runat="server" Text="提交" OnClick="btnTiJiao_Click" Width="50%"
                                        SkinID="buttonSkin" />
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle" Width="6%" />
                                <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" Width="6%" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="WeekPlanId" HeaderText="id" Visible="False">
                                <HeaderStyle Wrap="False" Width="30px" HorizontalAlign="Center" VerticalAlign="Middle" />
                                <ItemStyle Width="30px" HorizontalAlign="Left" />
                            </asp:BoundField>
                            <asp:BoundField DataField="PlanSendState" HeaderText="PlanSendState" Visible="False" />
                            <asp:BoundField DataField="NoCompleteCount" HeaderText="NoCompleteCount" Visible="False" />
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
